package com.project.forlearningdemo.service;

public interface ResourceService {

    //搜索资源
    String getResource(String condition);

    //删除资源
    String deleteResource(String condition);

    //增加资源
    String addResource(String resource);

    //修改资源
    String updateResource(String resource);

    //增加收藏
    String addCollection(int resourceId, int userId);

    //删除收藏
    String deleteCollection(int resourceId, int userId);

    //查询收藏
    String queryCollection(String collection);

    //增加浏览量
    String addScanNum(int resourceId);
}
